<template>
  <div class="test">
    <svg width="100px" height="100px">
      <line x1="0" y1="50" x2="100" y2="50" stroke-width='8' stroke='currentColor' />
      <line x1='50' y1='0' x2='50' y2='100' stroke-width='8' stroke='currentColor'/>
    </svg>
  </div>
</template>

<script>
import { computed, ref } from "vue";
export default {
  name: "TestComponent",
  setup() {
    const message = "hello world!!!";
    const count = ref(1);
    const doubleCount = computed(() => count.value * 2);
    const add = () => {
      console.log(count.value++)
      count.value++
    };
    return {
      message,
      doubleCount,
      add,
      count,
    };
  },
};
</script>

<style lang="scss" scoped>
.test {
  color: red;
}
</style>